﻿using StarsAdmin.Core.Attributes;
using System.ComponentModel.DataAnnotations;

namespace StarsAdmin.Core.Models
{
    public class BaseIdInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id字段是必须的")]
        [LongNotDefaultValue(ErrorMessage = "Id不能为默认值 0")]
        public long Id { get; set; }
    }
}